// import { Geist, Geist_Mono, Inter, Roboto, Poppins } from "next/font/google";
import "./globals.css";
import Navbar from "@/components/navbar/Navbar";
import Footer from "@/components/footer/Footer";
import { ThemeProvider } from "../context/ThemeContext";
import { SessionProvider } from "next-auth/react";
import { Toaster } from 'react-hot-toast';

import AuthProvider from "@/components/AuthProvider/AuthProvider";
// todo: bug for npm run build
// const inter = Inter({
//   // variable: "--font-inter",
//   subsets: ["latin"],
// });

// const geistSans = Geist({
//   variable: "--font-geist-sans",
//   subsets: ["latin"],
// });

// const geistMono = Geist_Mono({
//   variable: "--font-geist-mono",
//   subsets: ["latin"],
// });

export const metadata = {
  title: "fuckerfucker.org",
  description: "你的超级混蛋fuckerfucker.org",
};

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <body
      // className={`${inter.variable} ${inter.variable}`}
      >
        <ThemeProvider>
          <AuthProvider>
            <div className="container">
              <Navbar />
              <Toaster position="top-right" />
              {children}
              <Footer />
            </div>
          </AuthProvider>
        </ThemeProvider>
      </body>
    </html>
  );
}
